* {
    padding: 0;
    margin: 0;
    list-style: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    height: 100%;
    touch-action: none;
}

body {
    /*display: flex;*/
    /*flex-direction: column;*/
    /*height: 100%;*/
    /*touch-action: none;*/
    height:100%;
    overflow: hidden;
}

.container {
    position: relative;
    overflow: hidden;
    height: 100%;

}

#downMessage, #upMessage {
    height: 0;
    z-index: -100;
    background: #e0e0e0;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#downMessage {
    position: absolute;
}

#downMessage > div, #upMessage > div {
    align-items: center;
    align-self: center;
    align-content: center;
}

#downMessage {
    top: 0;
}

#upMessage {
    position: fixed;
    bottom: 0;
}

#downMessage.close, #upMessage.close {
    height: 0;
    transition: height 1s;
}

#pull {
    background: #fff;
    padding: 1rem;
    /*touch-action: none;*/
    /*overflow: scroll;*/
    flex-grow: 1;
}

#test {
    position: absolute;
    bottom: 0;
}

header, footer {
    text-align: center;
    padding: 1rem;
    background: #def;
}